<template>
    <div>
        <ul>
            <li v-for="(val,index) in list"><router-link :to="{ path: 'detail', query: { id: val }}" >{{val}}</router-link></li>
        </ul>
        <router-view></router-view>
    </div>
</template>
<script>
export default{
  data () {
    return {
      list: [ '001', '002' ]
    }
  }
}
</script>